<P> 

<P><center> 
<form method="post" action="fqdnlist.php"> 

 <input type="text" size="50" class="searchBox" name="searchfor" value="{$searchfor}"> &middot; <input type="submit" class="loginButton" value="Search"> 

</form> 

</center> 

 </p> 
<center> 
<table class="ltGreydkGreyBorder" width="60%"> 
<tr> 
<td colspan="3"> 
<strong> Enter a new domain here : </strong> 
</td> 
 <td colspan="1" align="center"> 
	<form method="post" action="useradd.php">
			<input type="hidden" name="action" value="domadd">  
      <input type="hidden" name="foruser" value="{$foruser}"> 
 			<input type="text" size="50" class="searchBox" name="searchfor" value="{$searchfor}"> &middot; <input type="submit" class="loginButton" value="Add New Domain"> 
	</form> 
	</td>
</tr> 

</table>

<table class="ltGreydkGreyBorder" width="70%">
 <tr>
 <th class="ltBlueformHeader"> No. </th> 
 <th class="ltBlueformHeader"> Domain Name  </th> 
 <th colspan="2" class="ltBlueformHeader"> Owned By  </th>
 <th class="ltBlueformHeader"> Default IP </th> 
 <th class="ltBlueformHeader"> Action  </th> 
</tr>
{section name="oldRecords" loop="$domains"}
<tr bgcolor="{cycle values="#eeeeee,#d0d0d0" }" >
<tD> {$smarty.section.oldRecords.iteration} </td>
<td >{$domains[oldRecords].fqdn}</td>
<td colspan="2"> {$domains[oldRecords].firstname}  {$domains[oldRecords].lastname}</td> 
<td> {$domains[oldRecords].defaultip} </td> 
<td > 
<center> 
<a href="domaindefaults.php?id={$domains[oldRecords].fqdnid}" title="Edit This Domain" ><img src="{$web_base}/images/stock_edit.png" border=0></a> 
&middot; 
<a href="fqdnlist.php?action=delete&id={$domains[oldRecords].fqdnid}" title="Delete Record" onClick="return confirmDelete();"> <img src="{$web_base}/images/stock_delete.png" border=0> </a> 
</center> 

</tD> 

</tr>
{/section} 

</table>
</centeR> 
